package com.ruoyi.web.controller.app;

import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.wb.service.IWbPlanAuditLogService;
import com.ruoyi.wb.vo.ReviewRecordVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * 维保计划审核日志Controller
 * 
 * @author ruoyi
 * @date 2025-03-05
 */
@RestController
@RequestMapping("/system/auditLog")
public class WbAppPlanAuditLogController extends BaseController
{
    @Autowired
    private IWbPlanAuditLogService wbPlanAuditLogService;


    /**
     * 工程师查询历史审核记录
     */
    @GetMapping("/reviewRecordByUserId")
    public TableDataInfo reviewRecordByUserId()
    {
        startPage();
        List<ReviewRecordVo> list = wbPlanAuditLogService.reviewRecordByUserId();
        return getDataTable(list);
    }


}
